give height to Image in nextjs

75

give height to Image in nextjs -

<div style='width:104px;height:104px;position:relative;'>
  <Image
    alt='Mountains'
    src='/mountains.jpg'
    layout='fill'
    objectFit='contain'
  />
</div>

Comments

Submit
0 Comments